'''
Created on 05/05/2010

@author: emlyn
'''

from InstitutionListHandler import InstitutionListHandler
from InstitutionDetailHandler import InstitutionDetailHandler

class PSPagesApplicationInit(object):
    '''
    This class adds the required application initialisation array info for accessing 
    all the pages in the Pages package.
    '''


    def __init__(self):
        '''
        Constructor
        '''

    def InitWSGIApplicationArray(self, resultarray):
        pagesarray = [
         ('/institutionlist', InstitutionListHandler),
         ('/institutiondetail', InstitutionDetailHandler)
        ]
        
        resultarray.extend(pagesarray)

        return resultarray
    InitWSGIApplicationArray = classmethod(InitWSGIApplicationArray)
